//
//  FirstCollectionCell.m
//  TinyFortune
//
//  Created by lc on 16/6/11.
//  Copyright © 2016年 lc. All rights reserved.
//

#import "FirstCollectionCell.h"

@implementation FirstCollectionCell
- (void)layoutSubviews{
    [super layoutSubviews];
    _titleLabel.backgroundColor = [UIColor clearColor];
    
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)setModel:(discoveryModel *)model{
    _model = model;
    _titleLabel.text = model.name;
    [_imageView sd_setImageWithURL:[NSURL URLWithString:model.cover] placeholderImage:[UIImage imageNamed:@"networkWaiting"]];
}
@end
